package cn.tedu.onlinestore.address.mapper;

import cn.tedu.onlinestore.address.pojo.entity.Address;
import cn.tedu.onlinestore.address.pojo.vo.AddressVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AddressMapper {

    List<AddressVO> addressByUserId(Integer id);

    void saveAddress(Address address);

    AddressVO addressById(Long id);

    void updateAddress(Address address);

    void deleteAddress(Long addressId);

}
